<template>
  <div>
    这是登录页
    <button @click="push">push</button>
  </div>
</template>

<script>
export default {
  name: 'login',
  methods: {
    push () {
      this.$router.push('/')
      this.$router.push({ name: 'Index' })
    }
  }
}
</script>
